package com.zbbt.sportslottery.bean;

/**
 * 
 * @ClassName: UserInfo
 * @Description: 用户信息
 * @author：LiZhimin
 * @date：2015-2-12 下午3:05:36
 * @version V1.0
 */
public class UserInfo {
	private String userId;// 用户id
	private String mobile;// 用户手机号
	private String realName;// 用户真实姓名
	private String nickName;// 用户昵称
	private String gener;// 用户性别，1男 2女 3 保密
	private String email;// 用户邮箱
	private String avatar;// 用户头像地址
	private String birthday;// 用户生日
	private int loginType;// 登录类型 ，1:本地登录 2:QQ 3:微博
	private int userStatus;// 用户状态 1正常 2禁用
	private long registerDate;// 用户注册日期
	private long lastLoginDate;// 用户最近登陆日期
	private String registerIp;// 用户登陆Ip
	private String lastLoginIp;// 用户最近登陆ip
	private int activityId;// 活动类型
	private int userSource;// 用户注册的app类型 1 IOS 2 android
	private String userOrg;// 用户注册app 用户属于哪个APP
	private int userType; // 用户的类型
	private int activity;//活动的ID
	private int totalSource;//用户可用的积分
	private int totalNum;//备用的字段
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getRealName() {
		return realName;
	}
	public void setRealName(String realName) {
		this.realName = realName;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public String getGener() {
		return gener;
	}
	public void setGener(String gener) {
		this.gener = gener;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getAvatar() {
		return avatar;
	}
	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}
	public String getBirthday() {
		return birthday;
	}
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
	public int getLoginType() {
		return loginType;
	}
	public void setLoginType(int loginType) {
		this.loginType = loginType;
	}
	public int getUserStatus() {
		return userStatus;
	}
	public void setUserStatus(int userStatus) {
		this.userStatus = userStatus;
	}
	public long getRegisterDate() {
		return registerDate;
	}
	public void setRegisterDate(long registerDate) {
		this.registerDate = registerDate;
	}
	public long getLastLoginDate() {
		return lastLoginDate;
	}
	public void setLastLoginDate(long lastLoginDate) {
		this.lastLoginDate = lastLoginDate;
	}
	public String getRegisterIp() {
		return registerIp;
	}
	public void setRegisterIp(String registerIp) {
		this.registerIp = registerIp;
	}
	public String getLastLoginIp() {
		return lastLoginIp;
	}
	public void setLastLoginIp(String lastLoginIp) {
		this.lastLoginIp = lastLoginIp;
	}
	public int getActivityId() {
		return activityId;
	}
	public void setActivityId(int activityId) {
		this.activityId = activityId;
	}
	public int getUserSource() {
		return userSource;
	}
	public void setUserSource(int userSource) {
		this.userSource = userSource;
	}
	public String getUserOrg() {
		return userOrg;
	}
	public void setUserOrg(String userOrg) {
		this.userOrg = userOrg;
	}
	public int getUserType() {
		return userType;
	}
	public void setUserType(int userType) {
		this.userType = userType;
	}
	public int getActivity() {
		return activity;
	}
	public void setActivity(int activity) {
		this.activity = activity;
	}
	public int getTotalSource() {
		return totalSource;
	}
	public void setTotalSource(int totalSource) {
		this.totalSource = totalSource;
	}
	public int getTotalNum() {
		return totalNum;
	}
	public void setTotalNum(int totalNum) {
		this.totalNum = totalNum;
	}
	@Override
	public String toString() {
		return "UserInfo [userId=" + userId + ", mobile=" + mobile + ", realName=" + realName + ", nickName="
				+ nickName + ", gener=" + gener + ", email=" + email + ", avatar=" + avatar + ", birthday="
				+ birthday + ", loginType=" + loginType + ", userStatus=" + userStatus + ", registerDate="
				+ registerDate + ", lastLoginDate=" + lastLoginDate + ", registerIp=" + registerIp
				+ ", lastLoginIp=" + lastLoginIp + ", activityId=" + activityId + ", userSource="
				+ userSource + ", userOrg=" + userOrg + ", userType=" + userType + ", activity=" + activity
				+ ", totalSource=" + totalSource + ", totalNum=" + totalNum + "]";
	}
	
	
}
